package com.jingdianjichi.subject.domain.handler.Subject;

import com.jingdianjichi.subject.common.enums.SubjectTypeEnums;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBo;
import org.springframework.stereotype.Component;


public interface SubjectTypeHandler {
    /**
     * 枚举身份识别
     * @return
     */
    SubjectTypeEnums getSubjectType();

    /**
     * 实际题目增加
     * @param subjectInfobo
     */
    void add(SubjectInfoBO subjectInfobo);

    SubjectOptionBo query(Long id);
}
